package com.kfm.wiki.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kfm.wiki.entity.EbookSnapshot;
import com.kfm.wiki.entity.SnapshotResp;
import com.kfm.wiki.service.EbookSnapshotService;
import com.kfm.wiki.mapper.EbookSnapshotMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 10854
* @description 针对表【ebook_snapshot(电子书快照表)】的数据库操作Service实现
* @createDate 2022-11-17 20:08:35
*/
@Service
public class EbookSnapshotServiceImpl extends ServiceImpl<EbookSnapshotMapper, EbookSnapshot>
    implements EbookSnapshotService{

    @Override
    public void generatorSnapshot() {
        getBaseMapper().generatorSnapshot();
    }

    @Override
    public List<EbookSnapshot> statistic() {
        return getBaseMapper().statistic();
    }

    @Override
    public List<SnapshotResp> statistic30() {
        return getBaseMapper().statistic30();
    }
}




